﻿<controls:ChildWindow xmlns:my="clr-namespace:SLControls.Controls;assembly=SLControls"  x:Class="VAdvantage.Framework.LocationSet"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="Auto" Height="300" 
           Title="LocationSet">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <my:VDataGrid Name="vdgvLocationSet" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
        
        

        <Button x:Name="CancelButton" Click="CancelButton_Click" Width="35" Height="35" HorizontalAlignment="Right" Margin="5,5,45,5" Grid.Row="2" >
            <Image Source="/VAdvantage;component/Images/cancel_up.png" Stretch="Fill"></Image>
        </Button>
        <Button x:Name="OKButton" Click="OKButton_Click" Width="35" Height="35" HorizontalAlignment="Right" Margin="5,5,5,5" Grid.Row="2" >
            <Image Source="/VAdvantage;component/Images/right_up.png" Stretch="Fill"></Image>
        </Button>
    </Grid>
</controls:ChildWindow>